26364afd7e9e377b8449ab0c2ad3ac301f3bebf6,modules/elasticsearch/src/main/java/org/elasticsearch/index/store/fs/SimpleFsStore.java,SimpleFsStore,SimpleFsStore,#ShardId#Settings#Environment#String#,52
Before Change
SwitchDirectory switchDirectory = buildSwitchDirectoryIfNeeded(fsDirectory);
if (switchDirectory != null) {
suggestUseCompoundFile = false;
logger.debug("Using [simple_fs] Store with path [{}], cache [true] with extensions [{}]", new Object[]{fsDirectory.getFile(), switchDirectory.primaryExtensions()});
directory = switchDirectory;
} else {
suggestUseCompoundFile = true;
After Change
SwitchDirectory switchDirectory = buildSwitchDirectoryIfNeeded(fsDirectory);
if (switchDirectory != null) {
suggestUseCompoundFile = false;
logger.debug("Using [simple_fs] Store with path [{}], cache [true] with extensions [{}]", fsDirectory.getFile(), switchDirectory.primaryExtensions());
directory = switchDirectory;
} else {
suggestUseCompoundFile = true;